package com.gict.antifraudback.service;

import com.gict.antifraudback.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author XIE
* @description 针对表【article】的数据库操作Service
* @createDate 2023-11-02 15:18:53
*/
public interface ArticleService extends IService<Article> {

    /**
     * 获取随机十条数据
     * @param contentType
     * @return
     */
    List<Article> selectRandomTenByType(Integer contentType);

    /**
     * 随机三篇
     * @return
     */
    List<Article> randomThreeArticle();
}
